/*
 * @Description: 积分发行-模块路由
 * @Author: binbin binbin@SSC-hainan
 * @Date: 2025-03-12
 * @LastEditors: Bart 1714877505@qq.com
 * @LastEditTime: 2025-03-19
 */

export default [
  // 积分发行商
  {
    path: '/integral-issuer',
    name: 'integral-issuer',
    component: () => import('/@/layouts/layoutMenu.vue'),
    children: [
      // 积分发行商管理
      {
        path: 'manage',
        name: 'integralIssuer-manage',
        redirect: '/integral-issuer/manage/list',
        children: [
          {
            path: 'list',
            name: 'integral-issuer-manage-list',
            component: () => import('/@/views/main/integral/integralIssuer/list.vue'),
          },
          {
            path: 'add',
            name: 'integral-issuer-manage-add',
            component: () => import('/@/views/main/integral/integralIssuer/add.vue'),
          },
          {
            path: 'detail',
            name: 'integral-issuer-manage-detail',
            component: () => import('/@/views/main/integral/integralIssuer/detail.vue'),
          },
        ],
      },
    ],
  },
  // 积分流水
  {
    path: '/issuer-integral-flow',
    name: 'issuer-integral-flow',
    component: () => import('/@/layouts/layoutMenu.vue'),
    children: [
      // 积分流水列表
      {
        path: 'list',
        name: 'issuer-integral-flow-list',
        component: () => import('/@/views/main/integral/integralFlow/list.vue'),
      },
    ],
  },
]
